package com.community.property.service;

import java.util.List;
import com.community.property.domain.WorkOrder;

/**
 * 内部工单Service接口
 * 
 * @author ruoyi
 * @date 2025-10-29
 */
public interface IWorkOrderService 
{
    /**
     * 查询内部工单
     * 
     * @param workOrderId 内部工单主键
     * @return 内部工单
     */
    public WorkOrder selectWorkOrderByWorkOrderId(Long workOrderId);

    /**
     * 查询内部工单列表
     * 
     * @param workOrder 内部工单
     * @return 内部工单集合
     */
    public List<WorkOrder> selectWorkOrderList(WorkOrder workOrder);

    /**
     * 新增内部工单
     * 
     * @param workOrder 内部工单
     * @return 结果
     */
    public int insertWorkOrder(WorkOrder workOrder);

    /**
     * 修改内部工单
     * 
     * @param workOrder 内部工单
     * @return 结果
     */
    public int updateWorkOrder(WorkOrder workOrder);

    /**
     * 批量删除内部工单
     * 
     * @param workOrderIds 需要删除的内部工单主键集合
     * @return 结果
     */
    public int deleteWorkOrderByWorkOrderIds(Long[] workOrderIds);

    /**
     * 删除内部工单信息
     * 
     * @param workOrderId 内部工单主键
     * @return 结果
     */
    public int deleteWorkOrderByWorkOrderId(Long workOrderId);

}
